﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlTypes;

namespace BizUserDALEntities
{
    public class UserInfo
    {
        public SqlInt32 UserID { get; set; }
        public string Password { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string CompanyName { get; set; }
        public string ContactOfficePhone { get; set; }
        public string ContactMobilePhone { get; set; }
        public string ContactEmail { get; set; }
        public string LicenseNumber { get; set; }
        public string AddressLine1 { get; set; }
        public string AddressLIne2 { get; set; }
        public SqlInt32 CityID { get; set; }
        public SqlInt32 StateID { get; set; }
        public SqlInt32 CountyID { get; set; }
        public SqlInt32 CountryID { get; set; }
        public bool ProfilePictureExists { get; set; }
        public DateTime CreatedDT { get; set; }
        public DateTime UpdatedDT { get; set; }
        public SqlInt32 LoginCounter { get; set; }
        public string Zip { get; set; }
        public string SecAnswer1 { get; set; }
        public string SecAnswer2 { get; set; }
        public string SecAnswer3 { get; set; }
        public DateTime LastLoginDateTime { get; set; }

    }
    public class PagerInfo
    {
        public int PageNumber { get; set; }
        public int PageSize { get; set; }
        public int TotalPages { get; set; }
        public int TotalItems { get; set; }
        public int FirstItem { get; set; }
        public int LastItem { get; set; }
    }
    public class BizInfo
    {
        public SqlInt32 BizID { get; set; }
        public string Title { get; set; }
        public SqlInt32 BizTypeID { get; set; }
        public string BizTypeName { get; set; } // Will be used in confirmation screen
        public SqlMoney AskingPriceLow { get; set; }
        public SqlMoney AskingPriceHigh { get; set; }
        public bool IsRelocatable { get; set; }
        public bool IsHomeBased { get; set; }
        public bool IsRealEstateAvail { get; set; }
        public bool IsAssetSale { get; set; }
        public bool IsOwnerFinancing { get; set; }
        public bool IsAbsenteeRun { get; set; }
        public bool IsRealEstateIncluded { get; set; }
        public bool IsFSBO { get; set; }
        public bool IsBrokerCoop { get; set; }
        public bool IsTrainingAndSupportAvail { get; set; }
        public bool IsFinancialAssistanceAvail { get; set; }
        public bool IsParternshipAvail { get; set; }
        public bool IsFranchise { get; set; }
        public SqlInt32 CountryID { get; set; }
        public SqlInt32 StateID { get; set; }
        public SqlInt32 CountyID { get; set; }
        public SqlInt32 CityID { get; set; }
        public SqlMoney GrossIncome { get; set; }
        public SqlMoney CashFlow { get; set; }
        public SqlMoney EBITDA { get; set; }
        public SqlMoney FurnitureAndFixtures { get; set; }
        public SqlMoney Inventory { get; set; }
        public SqlInt32 YearEstablished { get; set; }
        public SqlInt32 NoOfEmployees { get; set; }
        public string ReasonForSelling { get; set; }
        public SqlInt32 ListedByUserID { get; set; }
        public string Description { get; set; }
        public string Address1 { get; set; }
        public SqlDateTime CreatedDT { get; set; }
        public SqlDateTime UpdatedDT { get; set; }
        public bool IsActive { get; set; }
        public bool IsSold { get; set; }
        public SqlInt32 ViewedCounter { get; set; }
        public bool IsForBuy { get; set; }
        public string Zip { get; set; }
        public string Address2 { get; set; }
        public SqlDateTime PostedDate { get; set; }
        public SqlDateTime InActiveDate { get; set; }
        public string Status { get; set; }

        public string CountryName { get; set; }
        public string StateName { get; set; }
        public string CountyName { get; set; }
        public string CityName { get; set; }
        

    }
}
